<script setup>
import {User} from "../db/index.js"
</script>
<template>
  <div>
    <table>
      <thead>
      <tr>
        <th>id</th>
        <th>名字</th>
        <th>年龄</th>
      </tr>
      <tr v-for="index in User" key="index">
        <td>{{index.id }}</td>
        <td>{{ index.name }}</td>
        <td>{{ index.age }}</td>


      </tr>
      </thead>

    </table>
  </div>
</template>
